package cn.uce.cc.srv.client;

import cn.uce.ics.base.vo.cs.CsSmOrderTypeVo;
import com.ymdd.dorado.kernel.configuration.DubboOpenFeign;
import com.ymdd.dorado.kernel.vo.DubbGwFeignRequest;
import feign.Headers;
import feign.RequestLine;
import org.springframework.cloud.openfeign.FeignClient;

import java.util.List;
import java.util.Map;

@FeignClient(value = "ccWaybillQueryClient", url = "${ics.url}" , configuration = DubboOpenFeign.class)
public interface CcWaybillQueryClient {

    @RequestLine("POST /api/iccwaybillquerybiz")
    @Headers("Content-Type: application/json")
    Map<String, Object> findProblemInfo(DubbGwFeignRequest request);

    @RequestLine("POST /api/iccwaybillquerybiz")
    @Headers("Content-Type: application/json")
    Map<String, Object> findWaybllInfo(DubbGwFeignRequest request);

    @RequestLine("POST /api/iccwaybillquerybiz")
    @Headers("Content-Type: application/json")
    Map<String, Object> findDispenseList(DubbGwFeignRequest request);

    @RequestLine("POST /api/iccwaybillquerybiz")
    @Headers("Content-Type: application/json")
    Map<String, Object> findChildWaybllInfo(DubbGwFeignRequest request);

    @RequestLine("POST /api/iccsmordertypebiz")
    @Headers("Content-Type: application/json")
    String getCsOrderType(DubbGwFeignRequest request);

}
